Repository navigation
date: support european dates - #13818
MuntasirSZN wants to merge 3 commits into
Conversation
Merging this PR will not alter performance
|
|
GNU testsuite comparison: |
|
These tests are copied from GNU coreutils and should be licensed as such. |
Ok I gave attribution |
As per CONTRIBUTING.md, we cannot accept any changes based on the GNU source code. I recommend closing this PR and starting again from scratch. |
|
yeah, you need to rewrite the tests |
Ok doing it.... |
|
Binary size comparison: |
c918fea to
e991362
Compare
|
@sylvestre @collinfunk @xtqqczze Sorry for ping, can you guys check now? |
|
@MuntasirSZN Could you please confirm that no code in this PR has been derived from GNU coreutils or any other GPL-licensed source, including small snippets, helper structures, test fixtures, or comments? If you used an AI assistant during development, please also verify its output carefully, as AI-generated code may reproduce material from GPL-licensed sources, potentially without making the provenance apparent. |
No, @xtqqczze. I verified myself. |
7362f2a to
5c25094
Compare
|
@sylvestre @cakebaker review pls? Sorry for ping. |
|
@sylvestre @cakebaker is there anything else that is needed? |
|
@xtqqczze @sylvestre @cakebaker This is another ping... |
2bdf81d to
b24352a
Compare
a05872b to
fa13517
Compare
fa13517 to
e74f36e
Compare
|
@sylvestre another review? |
date accepts DAY.MONTH[.YEAR] dates (yearless forms use the current year). uutils rejected them, failing parts of tests/date/date.pl. Rewrite european dates to ISO before parsing. Adds unit and integration tests. Signed-off-by: MuntasirSZN <muntasir.joypurhat@gmail.com>
|
@sylvestre a review pls.... (sorry for ping) |
|
Looks like done in another pr |

dateacceptsDAY.MONTH[.YEAR]dates (yearless forms use the currentyear) and years beyond 9999 with any format. uutils/coreutils rejected both,
failing parts of tests/date/date.pl.
Rewrite european dates to ISO before parsing; accept extended years for
all output formats. Adds unit and integration tests.
tests/date/date.pl gnu test now passes.
Signed-off-by: MuntasirSZN muntasir.joypurhat@gmail.com